package com.zxx.casserver.modules.user.entity;

import com.zxx.cascommon.base.entity.QueryVO;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 用户应用关联表-数据库使用
 * </p>
 *
 * @author zhoukai
 * @since 2020-08-03
 */
public class UserRelationVO extends QueryVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户UID
     */
    private Long uid;

    /**
     * 关联类型： 1角色
     */
    private Integer type;

    /**
     * 关联ID
     */
    private List<Long> relationList;


    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public List<Long> getRelationList() {
        return relationList;
    }

    public void setRelationList(List<Long> relationList) {
        this.relationList = relationList;
    }

    @Override
    public String toString() {
        return "UserRelationVO{" +
                "uid=" + uid +
                ", type=" + type +
                ", relationList=" + relationList +
                '}';
    }
}
